﻿@model XSTDZ.ERP.Application.DataContracts.UsualFinanceDto
@using XSTDZ.ERP.Infrastructure.Extentions
@{
    ViewBag.Title = " - 编辑日常开支";
}
@section header{
     <link href="@Url.Content("~/Content/Controls.css")" rel="stylesheet" type="text/css" />
     <link href="@Url.Content("~/Content/Form.css")" rel="stylesheet" type="text/css" />
}


<div class="wp100">
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <table class="formtable">
    <thead>
        <tr>
            <th colspan="4">@* <h2>新增入库单</h2>*@
            <div id="toptoolbar"></div>
            </th>
        </tr>
    </thead>
    <tr>

        <td class="title">@*@Html.LabelFor(model => model.OrgName)*@组织机构<b>*</b></td>
        <td>  @Html.TextBoxFor(model => model.OrgName,new { @class ="text disablebg", @readonly = "readonly" })
            @Html.ValidationMessageFor(model => model.OrgId)
             @Html.HiddenFor(model => model.Id)
              @Html.HiddenFor(model => model.OrgId)
               @Html.HiddenFor(model => model.BillState)
         </td>
        <td class="title">@Html.LabelFor(model => model.Remark)</td>
        <td > @Html.TextBoxFor(model => model.Remark, new { @class = "text disablebg", @readonly = "readonly" })
            @Html.ValidationMessageFor(model => model.Remark)
            <input id="HidProjectTypeItems" name="HidProjectTypeItems" type="hidden" value="@ViewBag.ProjectTypeItems" />
            <input id="HidtempId" name="HidtempId" type="hidden" value="@Guid.Empty" />
             <input type="hidden" value="" name="hidProductBillItems" id="hidProductBillItems" />
         </td>
  </tr> 
       
 <tr>
        <td  colspan="4">
              <p class="divBtn">
              <input id="HidOrgCode" name="HidOrgCode" type="hidden" value="@ViewBag.OrgCode" />
               <input type="hidden" id="hidHttpRefeParent" name="hidHttpRefeParent" value="grid" />
            <input type="hidden" id="hidHttpPostState" name="hidHttpPostState" value="@ViewBag.PostState" />
            <input type="submit" value="@XSTDZ.ERP.Infrastructure.SystemConfig.BtnSave"  class="BtnSubmit" id="submitBtn" name="submitBtn" />
            <input type="submit" value="@XSTDZ.ERP.Infrastructure.SystemConfig.BtnSubmit"  class="BtnSubmit" id="btnSubmit" name="btnSubmit" onclick="javascript:return setCommit(1);" />
          @*  <input type="button" value="@XSTDZ.ERP.Infrastructure.SystemConfig.BtnClose" id="btnFromClose" name="btnFromClose" class="BtnClose" />*@
        </p>
        </td>
    </tr>
    </table>
}
</div>
<div class="wp100">
<div id="BillItemsGrid" style="margin-top:20px" ></div>
</div>


<script type="text/javascript" src="@Url.Content("~/Scripts/ligerUI/js/plugins/ligerPopupEdit.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Scripts/ligerUI/js/plugins/ligerDateEditor.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/js/UsualFinance/Detail.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/js/SelectData.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/js/formBase.js")"></script>
